package com.meixiang.entity;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * 查看大图
 * author:xiejingwen
 */
public class ShowPicture implements Parcelable {

    /**
     * stepId : 1
     * stepName : 清洗
     * stepSequence : 1
     * stepDesc : 清洗面部
     * stepImage : /photo/2.jpg
     */

    private String stepId;
    private String stepName;
    private String stepSequence;
    private String stepDesc;
    private String stepImage;

    public String getStepId() {
        return stepId;
    }

    public void setStepId(String stepId) {
        this.stepId = stepId;
    }

    public String getStepName() {
        return stepName;
    }

    public void setStepName(String stepName) {
        this.stepName = stepName;
    }

    public String getStepSequence() {
        return stepSequence;
    }

    public void setStepSequence(String stepSequence) {
        this.stepSequence = stepSequence;
    }

    public String getStepDesc() {
        return stepDesc;
    }

    public void setStepDesc(String stepDesc) {
        this.stepDesc = stepDesc;
    }

    public String getStepImage() {
        return stepImage;
    }

    public void setStepImage(String stepImage) {
        this.stepImage = stepImage;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.stepId);
        dest.writeString(this.stepName);
        dest.writeString(this.stepSequence);
        dest.writeString(this.stepDesc);
        dest.writeString(this.stepImage);
    }

    public ShowPicture() {
    }

    protected ShowPicture(Parcel in) {
        this.stepId = in.readString();
        this.stepName = in.readString();
        this.stepSequence = in.readString();
        this.stepDesc = in.readString();
        this.stepImage = in.readString();
    }

    public static final Parcelable.Creator<ShowPicture> CREATOR = new Parcelable.Creator<ShowPicture>() {
        @Override
        public ShowPicture createFromParcel(Parcel source) {
            return new ShowPicture(source);
        }

        @Override
        public ShowPicture[] newArray(int size) {
            return new ShowPicture[size];
        }
    };
}
